Class selectors are prefixed with a dot. Your .find() is missing that so jQuery thinks you're looking for <myClass> elements. ... <看更多>
Search
Search
Class selectors are prefixed with a dot. Your .find() is missing that so jQuery thinks you're looking for <myClass> elements. ... <看更多>
With checked[0] you are getting a reference to the actual DOM element (instead of the jQuery object) but that is unnecessary in your case since jQuery ... ... <看更多>